from celery import  Celery
# 创建celery对象
celery_app =Celery('meiduo_all')

celery_app.config_from_object('celery_tasks.config')

celery_app.autodiscover_tasks(['celery_tasks.sms'])